package com.dc.service;

import com.dc.base.vo.BaseModel;
import com.dc.model.Flower;

public interface FlowerService {
    // 分页查询花卉信息
    BaseModel selectPageFlower(Integer curr_page, Integer page_size, BaseModel baseModel,String flower_name, Integer classify_id);
    // 新增花卉
    BaseModel addFlower(Flower flower, BaseModel baseModel)throws Exception;
    // 修改花卉信息
    BaseModel updateFlower(Flower flower, BaseModel baseModel)throws Exception;
    // 删除花卉信息
    BaseModel deleteFlower(String ids, BaseModel baseModel)throws Exception;
    // 根据id查询花卉信息
    BaseModel selectFlowerById(Integer flower_id, BaseModel baseModel)throws  Exception;
    // 查询花卉分类信息
    BaseModel selectFlowerClassify(Integer curr_page, Integer page_size, BaseModel baseModel,String flower_name, Integer classify_id);
}
